//
//  UIImage+WQExtension.h
//  MeterCircle
//
//  Created by 魏强 on 16/6/15.
//  Copyright © 2016年 魏强. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (WQExtension)
/**
 * 圆形图片
 */
- (UIImage *)circleImage;

+ (UIImage *)imageWithName:(NSString *)name;
/**
 *  创建一张干净的只带颜色的iamge
 */
+ (UIImage *)imageWithColor:(UIColor *)color;
/**
 *  截取theView范围的image
 */
+ (UIImage*)captureView:(UIView *)theView;
/**
 *  重设image的大小
 */
+ (UIImage *)reSizeImage:(UIImage *)image toSize:(CGSize)reSize;
/**
 *  获得一个缩放的image
 */
+ (UIImage *)scaleImage:(UIImage *)image toScale:(float)scaleSize;
@end
